#ifndef SERVO_CONTROLER_H_
#define SERVO_CONTROLER_H_

class Servos;

class ServoControler
{
	public:
	
		Servos * m_ActuatorGroup;

		int m_servoId;
		bool m_shallStop;
		double m_Consigne;
		double m_LastConsigne;

		ServoControler(Servos * ActuatorGroup, int servo_id);

		void SetServoSpeed(int speed);
		void SetServoPosition(int position);

		~ServoControler();

		void Iteration();
};

#endif //MOTOR_CONTROLER_H_
